package com.boc.langxiang.contract.shop;

import com.boc.langxiang.contract.BaseView;
import com.boc.langxiang.entity.request.SearchProductRequest;
import com.boc.langxiang.entity.response.ProductListContent;
import com.boc.langxiang.presenter.BasePresenter;

/**
 * Created by Li Guoxi on 2016/7/6.
 */
public interface SearchProductContract {
    interface View extends BaseView {
        void onRefreshSuccess(ProductListContent content);

        void onLoadMoreSuccess(ProductListContent content);
    }

    interface Presenter extends BasePresenter {
        void refresh(SearchProductRequest request);

        void loadMore(SearchProductRequest request);
    }
}
